<template>
      <div class="container">
        <div class="item" v-for="item in routerConfig" > 
          <div v-if="!item.redirect" @click="handleGoto(item)">{{ item.meta.title }}</div>
        </div>
      </div>


</template>

<script lang="ts" setup>
import routerConfig from "@/router/modules/routerTest"
import { useRouter } from 'vue-router'
const router = useRouter();

const handleGoto = (item) => {
  router.push(item.path)
}
</script>

<style lang="scss">

</style>